Widens the geometry by the specified stroke and writes the result to an
SimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.
'Declaration
Public Overloads Sub Widen( _
ByVal As System.Single, _
ByVal As StrokeStyle, _
ByVal As System.Nullable(Of Matrix3x2), _
ByVal As System.Single, _
ByVal As GeometrySink _
)
public void Widen(
System.float ,
StrokeStyle ,
System.Nullable<Matrix3x2> ,
System.float ,
GeometrySink
)
Parameters
- strokeWidth
- The amount by which to widen the geometry.
- strokeStyle
- The style of stroke to apply to the geometry, or NULL.
- worldTransform
- The transform to apply to the geometry after widening it, or NULL.
- flatteningTolerance
- The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
- geometrySink
- The SimplifiedGeometrySink to which the widened geometry is appended.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.